package com.rfid.scanner;

import java.lang.ref.WeakReference;
import java.util.ArrayList;

/**
 * @author Administrator
 * @date 2021/1/20
 */
public class RFIDScanner implements Scanner {
    private ArrayList<WeakReference<ScannerListener>> mList = new ArrayList<>();

    @Override
    public void start() {

    }

    @Override
    public void stop() {
    }

    @Override
    public void addListener(ScannerListener listener) {
        if (listener != null) {
            for(WeakReference<ScannerListener> wf:mList){

            }
        }
    }

    @Override
    public void removeListener(ScannerListener listener) {

    }
}